package com.njtoyo.taxi.admin.mapper.master.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 乘客补贴流水表
 * </p>
 *
 * @author Dell
 * @since 2021-07-29
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "ActivityWaveAllowanceLog对象", description = "乘客补贴流水表")
public class ActivityWaveAllowanceLog implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "订单活动补贴表的ID")
    private Long activityId;

    @ApiModelProperty(value = "用户Id")
    private Long customerId;

    @ApiModelProperty(value = "名义上应补贴 金额")
    private BigDecimal nominalAllowanceAmount;

    @ApiModelProperty(value = "实际补贴的金 额")
    private BigDecimal actualAllowanceAmount;

    @ApiModelProperty(value = "当前第几个补贴订单（纯记录第几个，不管轮的概念；值应该和activity_wave_allowance_participation中的obtained_allowance_times相同）")
    private Integer sequence;

    @ApiModelProperty(value = "创建时间")
    private Date createdAt;

    @ApiModelProperty(value = "修改时间")
    private Date updatedAt;


}
